package cc.wfu.domain.order.model.aggregate;

import cc.wfu.domain.order.model.entity.ProductOrderEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: jia-qiang ljq1024.cc
 * @desc: 订单聚合对象
 * @Date: 2024-06-05-21:43
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CreateOrderAggregate {
    /**
     * 用户ID
     */
    private String userId;

    /**
     * 商品ID
     */
    private Long productId;

    /**
     * 商品订单实体
     */
    private ProductOrderEntity productOrderEntity;
}
